// 应用配置常量
export const APP_CONFIG = {
  // 动画参数
  ANIMATION: {
    PARTICLE_COUNT: {
      HIGH_PERFORMANCE: 150,
      MEDIUM_PERFORMANCE: 100,
      LOW_PERFORMANCE: 50
    },
    MOUSE_MOVE_THROTTLE: 16, // 约60fps
    CURSOR_TRAIL_LENGTH: 20,
    CURSOR_FADE_DURATION: 300
  },
  
  // 颜色配置
  COLORS: {
    PRIMARY: '#4f46e5',
    SECONDARY: '#06b6d4',
    ACCENT: '#f59e0b',
    SUCCESS: '#10b981',
    WARNING: '#f59e0b',
    ERROR: '#ef4444'
  },
  
  // 设备检测阈值
  DEVICE: {
    MOBILE_BREAKPOINT: 768,
    LOW_PERFORMANCE_THRESHOLD: {
      MEMORY: 4, // GB
      CORES: 4
    }
  },
  
  // 触摸反馈配置
  TOUCH: {
    FEEDBACK_DURATION: 150,
    LONG_PRESS_DURATION: 500
  },
  
  // PWA配置
  PWA: {
    CACHE_NAME: 'shanhe-maintenance-v1',
    INSTALL_PROMPT_DELAY: 7 * 24 * 60 * 60 * 1000 // 7天
  }
};

// QQ群配置
export const QQ_GROUPS = [
  { id: '123456789', name: '山河学院官方群' },
  { id: '987654321', name: '山河学院技术交流群' }
];

// 联系信息
export const CONTACT_INFO = {
  EMAIL: 'admin@shanhe.edu.cn',
  WEBSITE: 'https://shanhe.edu.cn'
};

// 粒子配置（为了兼容现有组件）
export const PARTICLE = APP_CONFIG.ANIMATION;

// 颜色配置（为了兼容现有组件）
export const COLORS = APP_CONFIG.COLORS;

// 性能配置（为了兼容现有组件）
export const PERFORMANCE = APP_CONFIG.DEVICE;